package com.yl.navigation.ui

import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.yl.common.base.BaseActivity
import com.yl.common.exp.Constants
import com.yl.navigation.R
import com.yl.navigation.databinding.ActivityNavigationBinding

@Route(path = Constants.NAVIGATION_ACTIVITY, name = "导航页")
class NavigationActivity : BaseActivity<ActivityNavigationBinding>() {
    override fun getLayoutID() = R.layout.activity_navigation

    override fun init() {
        mBind.btnNavigation.setOnClickListener {
//            startActivity<HomeActivity>()
            ARouter.getInstance().build(Constants.PROJECT_ACTIVITY).navigation()
            finish()
        }
    }

    override fun initData() {
    }
}